home *** CD-ROM | disk | FTP | other *** search
- Path: informatik.tu-muenchen.de!fischerj
- From: fischerj@informatik.tu-muenchen.de (Juergen "Rally" Fischer)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: AddIntServer + VERTB strangeness
- Date: 18 Apr 1996 13:36:01 GMT
- Organization: Technische Universitaet Muenchen, Germany
- Distribution: world
- Message-ID: <4l5gg1$jai@sunsystem5.informatik.tu-muenchen.de>
- References: <PETERM.96Apr7124019@tui.maths.irl.cri.nz> <1084.6678T720T2089@Redrobe.demon.co.uk> <PETERM.96Apr17120442@tui.maths.irl.cri.nz>
- NNTP-Posting-Host: hphalle5.informatik.tu-muenchen.de
- Originator: fischerj@hphalle5.informatik.tu-muenchen.de
-
-
- In article <PETERM.96Apr17120442@tui.maths.irl.cri.nz>,
- peterm@maths.grace.cri.nz (Peter McGavin) writes:
-
- |> {
- |> while (ie != NULL) {
- |> /* grab raw keyboard/mouse/timer input from ie->ie_Class and
- |> other input-event fields here */
- |> ie = ie->ie_NextEvent;
- |> }
- |> return NULL;
- |> }
- ^--- this is the "let nothign through" part right, i.e. if hi pri
- all events gone ?
-
- what if I still wanna support Amiga-M / Amiga-N in some way ?
- Or, even better, cancel anything but not all the Amiga-XXX combinations ?
-
- Can someone direct me to the list of numbers given in ie->ie_NextEvent ?
- mouse ? joystick ?
-
- The keyevents are RAW, i.e pressed/released ?
-
- My picture of it is this:
-
- own hi pri handler filtering all exept Amiga-XXX for hotkeys or screenswitch.
- Once the own game screen is not at front (Amiga-M), cancel filtering to get
- Ami controllable.
-
- Kind of if (intuibase->firstscreen==myscreen) filter();
-
- Any ideas/flames ?
-
- Will not filtering Amiga-keys result in much overhead ?
- IMHO the mouse-movement-events cause most calculations
- (window->mouse x/y etc.).
-
- What if I need mouseposition on my screen...
-
- ------------------------------------------------------------------------
- fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer) =:)
-